using System.Collections.Generic;
using RealtorGuide.Classes;

namespace RG.Classes.Impl.Beta
{
    public static class ClassesContainer
    {
        public static int ApartmentGenerator { get; set; }

        private static List<Apartment> apartments;
        public static List<Apartment> Apartments
        {
            get
            {
                if(apartments ==null)
                    apartments = new List<Apartment>();
                return apartments;
            }
        }

        public static int ManagerGenerator { get; set; }

        private static List<Manager> managers;
        public static List<Manager> Managers
        {
            get
            {
                if (managers == null)
                    managers = new List<Manager>();
                return managers;
            }
        }

        public static int MicroAreaGenerator { get; set; }

        private static List<MicroArea> microAreas;
        public static List<MicroArea> MicroAreas
        {
            get
            {
                if (microAreas == null)
                    microAreas = new List<MicroArea>();
                return microAreas;
            }
        }
    }
}